export function indexObj(param) {
  return uni.$tn.http.get('/coupon/index', {params:param})
}

export function receiveCoupon(param) {
  return uni.$tn.http.get('/coupon/receiveCoupon', {params:param})
}

export function userCoupon(param) {
  return uni.$tn.http.get('/coupon/userCoupon', {params:param})
}

export function exchangeCoupon(param) {
  return uni.$tn.http.post('/coupon/exchangeCoupon', param)
}